﻿using DevExpress.ExpressApp.DC;
using DevExpress.Xpo;

namespace EasyXaf.EntityDesigner.BusinessObjects.Entities.ValidationRules;

/// <summary>
/// 属性规则
/// </summary>
[XafDisplayName("属性规则")]
[XafDefaultProperty(nameof(Name))]
public partial class FromBoolPropertyRule : ValidationRule
{
	private string _usedProperties;

	/// <summary>
	/// 被用属性
	/// </summary>
	[XafDisplayName("被用属性")]
	public string UsedProperties
	{
		get => _usedProperties;
		set => SetPropertyValue(nameof(UsedProperties), ref _usedProperties, value);
	}

	public FromBoolPropertyRule(Session session)
		: base(session)
	{
	}
}
